import { DatePicker as AntdDatePicker } from 'antd';
import React from 'react';
import { commonProps } from './index';

// type
import type { AntdQuarterPickerProps } from './index';

export type Props = AntdQuarterPickerProps;

function QuarterPicker(props: Props) {
  const QuarterPickerProps = {
    ...commonProps,
    ...props,
  };
  return <AntdDatePicker.QuarterPicker {...QuarterPickerProps} />;
}

export default QuarterPicker;
